package org.valire.db;

import javax.sql.DataSource;

import org.springframework.jdbc.datasource.DataSourceTransactionManager;

/**
 * 
 * @author Daniel Orr
 *
 */
public class TxManagerFactory {

	public static DataSourceTransactionManager createDsTxManager(
			DataSource dataSource) {
		DataSourceTransactionManager transactionManager = new DataSourceTransactionManager(
				dataSource);
		return transactionManager;
	}
}
